package com.cf.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cf.domain.pojo.Judges;
import org.apache.ibatis.annotations.Select;

/**
 * @Author lzqinga@126.com
 * @Date 2024/11/9  10:25
 */
public interface JudgesMapper extends BaseMapper<Judges> {

    @Select("SELECT id, name FROM t_judges WHERE enable = 0")
    Page<Judges> selectList(Page<Judges> page, QueryWrapper<Judges> queryWrapper);
}
